import request from '@/utils/request'


// 管路员已归档
export function delDisinfectionRecordManager(disinfectionRecordId) {
  return request({
    url: '/feedingRecord/disinfect/delDisinfectionManager' + disinfectionRecordId,
    method: 'get'
  })
}
// 管理员已读
export function getDisinfectionRecordManager(disinfectionRecordId) {
  return request({
    url: '/feedingRecord/disinfect/DisinfectionManager' + disinfectionRecordId,
    method: 'get'
  })
}


// 查询消毒记录列表(管理员)
export function listDisinfectManager(query) {
  return request({
    url: '/feedingRecord/disinfect/listManager',
    method: 'get',
    params: query
  })
}
// 提交消毒记录
export function getDisinfectionRecord(disinfectionRecordId) {
  return request({
    url: '/feedingRecord/disinfect/DisinfectionEMP' + disinfectionRecordId,
    method: 'get'
  })
}
// 查询饲养部全体员工
export function queryStaffFeedingRecord() {
  return request({
    url: '/feedingRecord/feedingRecord/queryAllFeedingRecordName',
    method: 'get',
  })
}
// 查询消毒状态（员工）
export function queryTypeDisinfect() {
  return request({
    url: '/feedingRecord/disinfect/queryTypeDisinfect',
    method: 'get',
  
  })
}

// 查询消毒记录列表(员工)
export function listDisinfect(query) {
  return request({
    url: '/feedingRecord/disinfect/list',
    method: 'get',
    params: query
  })
}

// 查询消毒记录详细
export function getDisinfect(disinfectionRecordId) {
  return request({
    url: '/feedingRecord/disinfect/' + disinfectionRecordId,
    method: 'get'
  })
}

// 新增消毒记录
export function addDisinfect(data) {
  return request({
    url: '/feedingRecord/disinfect',
    method: 'post',
    data: data
  })
}


